<template>
  <div>富文本编辑器</div>
  <vue3-tinymce v-model="content" :setting="setting" />
  <div>内容: {{ content }}</div>
  <div v-html="content"></div>
</template>

<script>
import Vue3Tinymce from "@jsdawn/vue3-tinymce";

export default {
  data() {
    return {
      content: "",
      setting: {
        height: 400, // editor 高度
      },
    };
  },
  components: {
    Vue3Tinymce,
  },
};
</script>
